<template>
    <div class="tree_icon">
        <el-icon style="float: right" @click="closeSendHospitalClick">
            <close />
        </el-icon>
    </div>
    <el-scrollbar height="400px">
        <div>{{ props.data }}</div>
    </el-scrollbar>
</template>
<script setup>
import { ref, reactive, watch } from 'vue'

const props = defineProps({
    data: {
        type: Array,
        default: () => []
    }
})
const emit = defineEmits(['closeSendHospitalEmit'])
const closeSendHospitalClick = () => {
    emit('closeSendHospitalEmit')
}
</script>

<style scoped>
.tree_icon:hover {
    cursor: pointer;
    color: #758bfd;
}
</style>